package com.ebc.eservice.service;

import com.ebc.eservice.util.JsonResult;
import com.ebc.eservice.vo.Intro.IntroductionReqVo;
import com.ebc.eservice.vo.Intro.IntroductionUpdateVo;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

//后台管理-个性化简介
public interface EbcIntroductService {

    //获取个性化简介列表
    JsonResult getIntroductionList(int current, int size);

    //添加个性化简介
    JsonResult addIntroduction(IntroductionReqVo introductionReqVo);

    //添加个性化简介照片
    JsonResult addIntroPic(Integer companyId, MultipartFile articleFile) throws IOException;

    //模块修改
    JsonResult updateOpen(IntroductionUpdateVo IntroRespVo);

    //修改
    JsonResult updateIntroduction(IntroductionUpdateVo introductionUpdateVo) throws IOException;

    //删除
    JsonResult deleteIntroduction(Integer introId);

}
